//
const fs = require("fs/promises");

(async () => {
  try {
    //读取第一个文件内容
    let data = await fs.readFile("./resource/1.html");
    let data2 = await fs.readFile("./resource/2.html");
    let data3 = await fs.readFile("./resource/3.html");

    console.log(data.toString() + data2.toString() + data3.toString());
  } catch (e) {
    //错误的统一处理
    console.log(e);
  }
})();
